]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Use an off-screen buffer for window dimming
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 17 Sep 2011 07:06:00 +0000 (03:06 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 19 Sep 2011 16:39:41 +0000 (12:39 -0400)
commit82eccb566c04261fedb690f64126514bcca15092
tree6897135dfda7807c603a790981ef8b11cffae114
parent543b29efe75e6073f03ba72580a66914b152f7fb
windowManager: Use an off-screen buffer for window dimming

The way the window dimmer shader is applied will cause rendering errors with
the rounded corners, invisible borders or shaped textures since it doesn't deal
well with the multitexturing used by the MetaShapedTexture. Use an off-screen
buffer to flatten the texture before being applied.

https://bugzilla.gnome.org/show_bug.cgi?id=659302
data/shaders/dim-window.glsl
js/ui/windowManager.js
src/shell-util.c
src/shell-util.h